package com.ihrm.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ihrm.common.utils.PageUtils;
import com.ihrm.modules.sys.entity.PermissionEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author gaogzhen
 * @email gaogzhen@foxmail.com
 * @date 2020-12-17 20:56:33
 */
public interface PermissionService extends IService<PermissionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<PermissionEntity> levelPermsStack(Map<String, Object> params);
    List<PermissionEntity> levelPermsQueue(Map<String, Object> params);

    List<String> queryByRoleId(String id);
}

